package com.deep.order.model.dto;

import com.deep.order.model.entity.OrderEntity;
import com.deep.order.model.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 提交订单
 *
 * @author Deep
 * @date 2022/2/16
 */
@Data
public class OrderCreateDTO {
    /**
     * 订单
     */
    private OrderEntity order;
    /**
     * 订单项
     */
    private List<OrderItemEntity> orderItems;
    /**
     * 订单计算的应付价格
     **/
    private BigDecimal payPrice;
    /**
     * 运费
     **/
    private BigDecimal fare;
}
